import request from '../util/request'

export const getLogin = (data) => {
    return request({
        url: '/login',
        method: 'post',
        data: data
    })
}
export const getRegister = (data) => {
    return request({
        url:'/register',
        method:'post',
        data: data
    })
}